home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Applications
/
Tax ƒ
/
Tax FKEY--READ ME
< prev
next >
Wrap
Text File
|
1994-05-07
|
3KB
|
84 lines
Tax FKEY--READ ME
© 1993, 1994 by David Alten
version 1.0.1, May 1994
DISCLAIMER
==========
Use at our own risk. I won't be held responsible for any loss of data or
other disasters you might have by using this software. It's freeware.
Also, if you plan on including this on any CD-ROM or commercial product,
notify me first.
WHAT IS IT?
===========
I wrote this FKEY for one reason: To use it with Quicken. I frequently
need to add the tax to a number when I enter it. I must have looked at
every single calculator ever written for the Mac, including several fancy
HP's. Not one had a % sign. So I decided to write my own little program
to figure out the tax. This is the result. The source code is included,
should you need to customize the FKEY. Please do not re-distribute
modified copies.
This program basically does three things: 1) Read the number from the
clipboard. 2) Compute number+tax. 3) Put the new number in the clipboad.
It is assumed that you have a positive number with either one or two
digits after the decimal point. If you have something like "5-G8x%L99"
in the clipboard, it will be treated as "58.99." The period is assumed
to be the decimal separator.
INSTALLATION
============
There are several utilities for installing FKEYs. Basically, use ResEdit
to copy the resource in "Tax FKEY" into any application which you want
to use it in. Copy the resource into the System file for global access.
Check with sumex-aim.stanford.edu or mac.archive.umich.edu for
various utilities and FAQs on installing FKEYs.
The "Tax FKEY" file contains a 68000 compiled version of the FKEY. It
should work on any Mac, including the AVs and Power Macs. The ID is
set to 5, so you need to press SHIFT-COMMAND-5 to activate the FKEY.
The Tax FKEY is harcoded for an 8.25% sales tax. I included the source
code should you need to change this (or other things.)
This FKEY is best used in conjuction with QuicKeys. Here's my sequence:
1. TAB
2. SHIFT-TAB
3. CMD-C
4. Tax FKEY
5. CMD-V
Now all I have to do is type in a number and press a key to activate the
QuicKeys sequence. This should also work for any cell-based program, like
Excel or Word's tables.
NOTES
=====
Since this was my first FKEY (first Mac code, actually), I borrowed
some code from the authors of "Block Comment FKEY". This came
with THINK Pascal and is located in the Utilities folder. I blatantly
copied some of their code and left it as is, including variable names
and comments. Thanks to Clement Wang and Greg Howe for commenting
their code so well!!
This has been tested on a IIsi, System 7.0-7.1 and Quicken 3-4. I've
been using it for over a year now with no problems.
Please send bug-reports, postacards, cash, hardware, etc. to one of
the addresses below.
Happy hacking!!
David Alten
P.O. Box 20056
Houston, TX 77225-0056
U.S.A.
internet: elee74l@menudo.uh.edu
HE KUER!!